//
//  TestRun.h
//  WiteBox
//
//  Created by John Blanco on 6/27/09.
//  Copyright 2009 Effective UI. All rights reserved.
//

#import <Foundation/Foundation.h>

@class AssertionException;

@interface TestRun : NSObject {
	SEL testMethod;
	BOOL isTestComplete;
	BOOL isPassingTest;
	NSException *exception;
	double duration;
}

@property (nonatomic, assign) BOOL isTestComplete;
@property (nonatomic, assign) BOOL isPassingTest;
@property (nonatomic, retain) NSException *exception;
@property (nonatomic, assign) double duration;

- (id)initWithSelector:(SEL)testMethod;

- (NSString *)testMethodName;
- (SEL)testMethod;

- (NSString *)exceptionFilename;
- (NSInteger)exceptionLineNumber;
- (NSString *)exceptionExpectedValue;
- (NSString *)exceptionActualValue;
	
@end
